﻿namespace GreenIsomer.Data.Entities.Ddl {
	using System.Collections.ObjectModel;

	public class ProviderSettingsCollection : Collection<ProviderSettings> {

		public ProviderSettingsCollection() { }

		public virtual ProviderSettings Find(string provider) {
			foreach(ProviderSettings item in this)
				if(item.Provider == provider) return item;
			return null;
		}

	}

}